/*
 * @Author: malgee
 * @Date: 2025-04-17 11:28:15
 * @LastEditors: maling
 * @LastEditTime: 2025-04-25 10:13:05
 * @FilePath: /vue3-ts-cms/src/main.ts
 * @Description:
 *
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/assets/css/index.less'
import { setupStore } from './store'
import register from './global'

// 测试 axios 请求
import './service/axios_demo'


console.log(process.env.VUE_APP_BASE_URL)

const app = createApp(App)

app.use(register)
app.use(store)
setupStore() // 必须先设置 store, 在设置 router,

app.use(router)
app.mount('#app')



